#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <limits.h>
#define HASH_SIZE 1000  
typedef struct daolu{
    int quxiangid;        
    int length;           
    int time1;    //原始时间
    int time2;    //受事件影响后的时间
    int max;      
    struct daolu *next;    
} daolu;

typedef struct lukou{
    int id;               
    int liuliang;            
    daolu *adj;            
} lukou;